package com.mengmaedu.servicefeign.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @Auther: xixi
 * @Date: 2018/11/27 11:19
 * @Description:
 */
@FeignClient(value = "EUREKA-CLINET",fallback = SchedualServiceHiImpl.class)
public interface SchedualServiceHi {

    @RequestMapping(value = "/test",method = RequestMethod.GET)
    String test1();

}
